package com.yugao.fintech.draper.common.constant;

public class GlobleKeyConstant {

	public static final String SPACE = " ";

	public static final String EMPTY = "";

	public static final String LF = "\n";

	public static final String CR = "\r";

	public static final String AT = "@";

	public static final String CO = ":";

	public static final String UNDER_LINE = "_";

	public static final String POINT = ".";

	public static final String SK = "/";

	public static final String LINE = "-";

	public static final String JSON = ".json";

	public static final String XML = ".xml";

	public static final String HTTP = "http://";

	public static final String HTTPS = "https://";

	public static final String RRCORD_BUCKET = "cc-record";

	public static final String VOICE_BUCKET = "cc-voice";

	public static final String IVR_BUCKET = "spread-ivr";

	/**
	 * vip等级进线
	 */
	public static final String VIP_LEVEL = "vipLevel";

	public static final String START_TIME = "startTime";

	public static final String QUEUE_TIME = "queueTime";

	/**
	 * 指定坐席
	 */
	public static final String DESIGNATE_AGENT = "desiganteAgent";

	/**
	 * 当前空闲时间
	 */
	public static final String LONG_READY = "longReady";

	/**
	 * 空闲次数
	 */
	public static final String READY_TIMES = "readyTimes";

	/**
	 * 服务次数
	 */
	public static final String SEREVICE_TIMES = "serviceTimes";

	public final static String DEFAULT_KEY = "";

	/**
	 * 坐席状态相关
	 */
	public final static String AGENT_STATE_KEY = "STATE";

	public final static String AGENT_LOG_KEY = "LOG";

	public final static String DEVOCE_KEY = "DEVICE";

	public final static String DETAIL_KEY = "DETAIL";

	public final static String CALLLOG_KEY = "CALLLOG";

	public final static String AGENT_STATE_EXCHANGE = "AGENT-STATE-EXCHANGE";

	public final static String CALL_LOG_EXCHANGE = "CALL-LOG-EXCHANGE";

	/**
	 * 话单相关
	 */
	public final static String CALL_DEVICE_QUEUE = "CALL-DEVICE-QUEUE";

	public final static String CALL_LOG_QUEUE = "CALL-LOG-QUEUE";

	public final static String CALL_DETAIL_QUEUE = "CALL-DETAIL-QUEUE";

	public final static String AGENT_STATE_QUEUE = "AGENT-STATE-QUEUE";

	public final static String AGENT_LOG_QUEUE = "AGENT-LOG-QUEUE";

	/**
	 * 配置变更相关
	 */
	public final static String CC_CONFIG_EXCHANGE = "CC-CONFIG-EXCHANGE";

	public final static String CC_CONFIG_QUEUE = "CC-CONFIG-QUEUE";

	public final static String AGENT_TOKEN = "AGENT_TOKEN:";

	public final static String AGENT_INFO = "AGENT_INFO:";

	public final static String ADMIN_TOKEN = "ADMIN_TOKEN:";

	public final static String ADMIN_INFO = "ADMIN_INFO:";

	public final static String CALL_INFO = "CALL_INFO:";

	/**
	 * 逻辑删除标记： 正常
	 */
	public static final Integer NORMAL = 0;

	/**
	 * 逻辑删除标记： 删除
	 */
	public static final Integer UNNORAML = 1;

	public static final String CONTEXT_KEY_USER_ID = "currentUserId";

	public static final String CONTEXT_KEY_USERNAME = "currentUserName";

	public static final String CONTEXT_KEY_USER_NAME = "currentUser";

	public static final String CONTEXT_KEY_USER_TOKEN = "currentUserToken";

	public static final String JWT_KEY_USER_ID = "userId";

	public static final String JWT_KEY_NAME = "name";

	public static final String JWT_ID = "id";

	public static final String LOGIN_QQ = "qq";

	public static final String LOGIN_WEIXIN = "weixin";

	public static final String LOGIN_GITEE = "gitee";

	public static final String LOGIN_GITHUB = "github";

	public static final String API_URI = "/v2/api-docs";

	public static final String CLIENT_FIELDS = "client_id, CONCAT('{noop}',client_secret) as client_secret, resource_ids, scope, "
			+ "authorized_grant_types, web_server_redirect_uri, authorities, access_token_validity, "
			+ "refresh_token_validity, additional_information, autoapprove";

	/**
	 * JdbcClientDetailsService 查询语句
	 */
	public static final String BASE_FIND = "select " + CLIENT_FIELDS + " from sys_oauth_client_details";

	/**
	 * 默认的查询语句
	 */
	public static final String DEFAULT_FIND = BASE_FIND + " order by client_id";

	/**
	 * 按条件client_id 查询
	 */
	public static final String DEFAULT_SELECT = BASE_FIND + " where client_id = ?";

	/**
	 * 图形验证码
	 */
	public static final String PREX_IMAGE_KEY = "PREX_IMAGE_KEY";

	public static final String PHONE_KEY = "phone";

	/**
	 * 邮箱
	 */
	public static final String RESET_MAIL = "MAIL";

	/**
	 * 短信验证码
	 */
	public static final String SMS_KEY = "SMS_CODE_";

	public static final String OAUTH_TOKEN_URL = "/oauth/token";

}
